/* static/user/css/modules/payment.css */
/* 支付弹窗 */
.payment-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 500px;
    border-radius: 8px;
    z-index: 1002;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
}

.payment-modal.active {
    display: block;
}

.payment-content {
    padding: 20px;
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.py-close-btn {
    font-size: 24px;
    cursor: pointer;
}

.amount-info {
    margin-bottom: 20px;
}

.amount-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.amount-item.total {
    font-size: 16px;
    font-weight: 500;
    color: #e74c3c;
}

.payment-methods {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-method.active {
    border-color: #3498db;
    background: #f5fbff;
}

.payment-method img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

.confirm-btn {
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.confirm-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

/* 购物车底部 */
.cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid #eee;
}

.selected-count {
    font-size: 14px;
    color: #666;
}

.checkout-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 24px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.total-amount {
    font-weight: bold;
}